<form nz-form [formGroup]="validateForm">
  <div class="form-inner">

    <nz-form-item nzFlex>
      <nz-form-label nzRequired class="label-width">基本类型键</nz-form-label>
      <nz-form-control class="flex-1">
        <input nz-input formControlName="baseTypeKey" placeholder="请输入基本类型键">
        <nz-form-explain *ngIf="hasError('baseTypeKey')">基本类型键不能为空!</nz-form-explain>
      </nz-form-control>
    </nz-form-item>

    <nz-form-item nzFlex>
      <nz-form-label nzRequired class="label-width">基本类型名称</nz-form-label>
      <nz-form-control class="flex-1">
        <input nz-input formControlName="baseTypeName" placeholder="请输入基本类型名称">
        <nz-form-explain *ngIf="hasError('baseTypeName')">基本类型名称不能为空!</nz-form-explain>
      </nz-form-control>
    </nz-form-item>

    <nz-form-item nzFlex>
      <nz-form-label class="label-width">描述</nz-form-label>
      <nz-form-control class="flex-1">
        <textarea nz-input formControlName="description" placeholder="请输入描述"></textarea>
      </nz-form-control>
    </nz-form-item>

  </div>
</form>